'use strict';
define(['angular','ui-router'],function(angular){
	
	return angular.module("app",['ui.router'])
		.config(function($stateProvider){
			$stateProvider
			.state('C1',{
				url:'/C1',
			    template: '<h1>进入C1状态</h1>'
			})
			.state('C2',{
				url:'/C2',
				 templateUrl: '/help/c2.aardio'
			})
			.state('C3',{
				url:'/C3',
				templateProvider:function(){
				  return '<h1>进入C3状态</h1>';
				}
			})
		})
		.directive('dataReactroot',function(){
			return {
				templateUrl:'/help/dataReactroot.aardio'
			};
		})
	
	
})
 